From: Florian Müllner Date: Thu, 29 Jul 2021 20:14:30 +0000 (+0200) Subject: magnifier: Remove unused return value X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~574^2^2~160 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=77b175e76342af4795d3a4f9fb150cf4a8a3ea52;p=gnome-shell.git magnifier: Remove unused return value Before the introduction of PointerWatcher, the method was used as a timeout handler. That hasn't been the case since 2012, so drop the return value. Part-of: --- diff --git a/js/ui/magnifier.js b/js/ui/magnifier.js index f170bbed0..57b32cb05 100644 --- a/js/ui/magnifier.js +++ b/js/ui/magnifier.js @@ -228,7 +228,6 @@ var Magnifier = class Magnifier { * scrollToMousePos: * Position all zoom regions' ROI relative to the current location of the * system pointer. - * @returns {bool} true. */ scrollToMousePos(...args) { const [xMouse, yMouse] = args.length ? args : global.get_pointer(); @@ -247,7 +246,6 @@ var Magnifier = class Magnifier { else this.showSystemCursor(); } - return true; } /**